package com.zhilianbao.leyaogo.ui.adapter.home.grids;

import com.zhilianbao.leyaogo.model.response.home.BaseDataBean;
import com.zhilianbao.leyaogo.model.response.home.BaseHomeData;

import java.io.Serializable;
import java.util.List;

/**
 * 首页栏目广告 Model
 */
public class HomeAppGrids extends BaseHomeData {


    /**
     * data : {"list":[{"id":7,"name":"新人专享","type":3,"img":"fe3da2cf1dce38859278b836dfa37823.jpg","title":"1212新人专享"},{"id":1006,"name":"圣诞节","type":2,"img":"0db173abf1f4cd03212505b82fb6aa26.jpg","title":"1225圣诞节"},{"id":1,"name":"特价","type":3,"img":"0909000bf5f95495eebb1a7f2dfee58b.jpg","title":"特价"},{"id":19,"name":"包邮","type":3,"img":"b39ae49337c8b5ef29970a397657cc5e.jpg","title":"12.12包邮"}]}
     */

    private HomeAppGridsData data;

    public HomeAppGridsData getData() {
        return data;
    }

    public void setData(HomeAppGridsData data) {
        this.data = data;
    }

    public static class HomeAppGridsData implements Serializable {
        private List<HomeAppGridsBean> list;

        public List<HomeAppGridsBean> getList() {
            return list;
        }

        public void setList(List<HomeAppGridsBean> list) {
            this.list = list;
        }

        public static class HomeAppGridsBean extends BaseDataBean {
            /**
             * img : fe3da2cf1dce38859278b836dfa37823.jpg
             * title : 1212新人专享
             */

            private String img;
            private String title;


            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}